package com.kyrioscraft.cloud.security.core.validate.code.image;

import com.kyrioscraft.cloud.security.core.validate.code.ValidateCode;
import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * @Author kyrioscraft
 * @Date 2018/12/25 16:16
 * @Description //TODO
 **/

public class ImageCode extends ValidateCode {
    private BufferedImage image;

    public ImageCode(BufferedImage image, String code, int expireIn) {
        super(code,expireIn);
        this.image = image;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }
}
